using Gateway.Infrastructure.AutoDI;

namespace Gateway.IApplication.Order;

/// <summary>
/// 
/// </summary>
public interface IOrderApp : IDependency
{
    /// <summary>
    /// 
    /// </summary>
    /// <param name="orderTime"></param>
    /// <returns></returns>
    Task<string> Add(DateTime orderTime);

    /// <summary>
    /// 
    /// </summary>
    /// <param name="id"></param>
    /// <returns></returns>
    Task<object> GetDetail(string id);


    /// <summary>
    /// 
    /// </summary>
    /// <param name="area"></param>
    /// <param name="page"></param>
    /// <param name="size"></param>
    /// <returns></returns>
    Task<object> GetList(string area,int page,int size);
}